export default {
  userInfo: state => state.user.userInfo,
  isLogin: state => {
    return state.user.userInfo && !!state.user.userInfo.username
  },
}
